<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="fr">
	<head>
		<title>Back office Bitstrip(s) - Gérer les thèmes</title>
		<meta charset="UTF-8"/>
		<link rel="stylesheet" type="text/css" href="/bitstrip/assets/css/back_office.css"/>
        <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
	</head>
	<body>
		<c:if test="${status.hasErrors()}"> 
			<div class="message-box error show">
				<c:forEach items="${status.getAllErrors()}" var="errorMessage">  
	            	<c:out value="${errorMessage.getDefaultMessage()}" /><br/>
	           	</c:forEach> 
			</div>
		</c:if>	
		
		<div class="bo-container"> 
			<form:form commandName="theme" id="theme-ajout" action="/bitstrip/ajouter_theme" method="post">
				<fieldset>
					<legend>Nouveau thème</legend>
					<form:hidden path="id"/>
					<form:hidden path="version"/>
					<form:input path="nom_theme" placeholder="NOM THEME"/>
					<input type="submit" name="valider" value="Valider">
					<input type="button" name="cancel" value ="Annuler" onclick="history.go(-1)">  
				</fieldset>
			</form:form>
		</div>
	</body>
</html>